using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Models;

namespace BLL
{

    public static partial class MayorLocationManager
    {
        public static bool AddMayorLocation(MayorLocation mayorLocation)
        {
            return MayorLocationService.AddMayorLocation(mayorLocation);
        }

        public static bool DeleteMayorLocationByID(int iD)
        {
            return MayorLocationService.DeleteMayorLocationByID(iD);
        }

        public static bool ModifyMayorLocation(MayorLocation mayorLocation)
        {
            return MayorLocationService.ModifyMayorLocation(mayorLocation);
        }

        public static IList<MayorLocation> GetAllMayorLocations()
        {
            return MayorLocationService.GetAllMayorLocations();
        }

        public static IList<MayorLocation> GetMayorLocationsByMayorID(int mayorID)
        {
            return MayorLocationService.GetMayorLocationsByMayorID(mayorID);
        }

        public static MayorLocation GetMayorLocationByIDAndV(int iD, int videoID)
        {
            return MayorLocationService.GetMayorLocationByIDAndV(iD, videoID);
        }

        public static MayorLocation GetMayorLocationBytop1(int iD)
        {
            return MayorLocationService.GetMayorLocationBytop1(iD);
        }

        public static MayorLocation GetMayorLocationByID(int iD)
        {
            return MayorLocationService.GetMayorLocationByID(iD);
        }

        public static MayorLocation GetMayorLocationByIDAndIconID(int mayorID, int iconID)
        {
            return MayorLocationService.GetMayorLocationByIDAndIconID(mayorID, iconID);
        }

    }
}
